@extends('shared.master')

@section('content')
<div class="container-fluid">
    <div class="row">
        <div class="col-lg-12">
            <ol class="breadcrumb layout-title">
                <li><a href="{{url('module')}}">Module</a></li>
                <li class="active" ><i class="fa fa-user fa-fw"></i> Input</li>
            </ol>
                {{PageData::Error()}}

            <div class="col-lg-6">
                {{ Form::open(array('url' => '#')) }}
                <div class="form-group">
                    {{Form::label('name','Name *')}}
                    {{Form::hidden('id',$Model->getId())}}
                    {{Form::text('name',$Model->getName(),array('class'=>'form-control'))}}
                </div>
                <div class="form-group">
                    {{Form::label('icon','Icon')}} <i class='fa fa-{{$Model->getIcon()}}'></i>
                    {{Form::text('icon',$Model->getIcon(),array('class'=>'form-control'))}}
                </div>
                <div class="form-group">
                    {{Form::label('sequence','Sequence *')}}
                    {{Form::text('sequence',$Model->getSequence(),array('class'=>'form-control'))}}
                </div>
                <div class="form-group">
                    {{Form::label('is_show','Is Show')}}
                    {{Form::select('is_show', $IsShowCombo, $Model->getIsShow(),array('class'=>'form-control'))}}
                </div>
                <div class="form-group">
                    {{Form::label('is_enabled','Is Enabled')}}
                    {{Form::select('is_enabled', $IsEnabledCombo, $Model->getIsEnabled(),array('class'=>'form-control'))}}
                </div>
                <p>
                    {{Form::submit('Save',array('class'=>'btn btn-primary',"name"=>"submit"))}}
                    {{Form::button('Close',array('class'=>'btn btn-primary','onClick'=>"location.href='".url('module')."'"))}}
                </p>
                {{ Form::close() }}
            </div>
        </div>
        <!-- /.col-lg-12 -->
    </div>
    <!-- /.row -->
</div>
<!-- /.container-fluid -->
    <script>
    
    </script>
@stop